<%--
  Created by IntelliJ IDEA.
  User: zhaoyingjie
  Date: 2021/9/24
  Time: 19:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<head>
    <title>职位详情</title>
    <link rel="icon" href="/hire/imgs/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/hire/css/job/recruitment/recruitment_info.css">
    <link rel="stylesheet" href="/hire/plugins/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/hire/plugins/layui/css/layui.css">

</head>
<body class="page-white">
<%@include file="./../../common/mynav.jsp" %>
<input type="hidden" value="${recruitment.id}" id="findrid">
<%--${recruitment}--%>
<div id="wrap">
    <div class="detail-box">
        <div class="header1">
            <div class="title">
                <ul>
                    <li>${recruitment.name}</li>
                </ul>
            </div>
            <div class="title1">
                <ul>
                    <li>${recruitment.salaryLower}K-${recruitment.salaryUpper}K</li>
                    <li><span>${recruitment.experience}·${recruitment.education}</span></li>
                </ul>
            </div>
            <div class="title2" id="dem3">

            </div>
        </div>
        <div class="end">
            <div class="title3">
                <div class="date">
                    <span>更新于&nbsp;<fmt:formatDate value="${recruitment.releaseTime}" pattern="yyyy-MM-dd"/></span>
                </div>
                <div class="title4">
                    <c:forEach items="${tag}" var="t">
                        <div class="main">
                            <button type="submit">${t}</button>
                        </div>

                    </c:forEach>
                </div>
                <div class="title5">
                    <ul>
                        <c:forEach items="${welfare}" var="w">
                            <li>${w}</li>
                        </c:forEach>
                    </ul>
                </div>
                <div class="title6">
                    <ul>
<%--                        <li><a href="/hire/resume/resume_make"><img src="../../imgs/icon-resume.png" alt="">填写在线简历</a>--%>
                        </li>
                        <li><a href="/hire/resume/resume_upload"><img src="../../imgs/icon-upload.png">上传附件简历</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="job-box">
    <div class="inner home-inner">
        <div class="job-sider">
            <div class="sider-company">
                <p class="title7">公司基本信息</p>
                <div class="company-info" onclick="find_cid(this)">
                    <input type="hidden" value="${company.id}">
                    <a><img src="../../imgs/company/logo/${company.logo}" alt=""></a>
                    <a><span class="o1">${company.name}</span></a>
                </div>
                <br>
                <p>${company.businessName}</p>
                <div class="company-t">
                    <button>${company.industryType}</button>
                    <button>${company.num}</button>
                    <button>${company.financing}</button>
                </div>
                <div class="company-m" onclick="find2_cid(this)">
                    <input type="hidden" value="${company.id}">
                    <a>公司主页</a>
                </div>
                <div class="i1">
                    <img src="../../imgs/new.png" alt="" width="284px" height="160px">
                </div>
            </div>
        </div>
        <div class="job-detail">
            <div class="detail-op">
                <div class="detail-figure">
                    <img src="../../imgs/ping1.png" alt="">
                </div>
                <p class="gray">
                    HR
                    <em class="vodt">·</em>
                    1天前活跃
                </p>
            </div>
            <div class="detail-content">
                <div class="job-sec">
                    <h3>职位描述<br><img src="../../imgs/line-sec.png"></h3>
                    <div class="text">
                        <div style="padding-bottom: 12px">
                            <c:if test="${!empty recruitment.duty}">
                                <div style="font-size: 20px; ">岗位职责</div>
                                ${fn:replace(recruitment.duty, ";", "<br>")}

                            </c:if>
                        </div>

                        <%--                        ${recruitment.requirement}--%>
                        <c:if test="${!empty recruitment.requirement}">
                            <div style="font-size: 20px">职位要求</div>
                            ${fn:replace(recruitment.requirement, ';', ";<br>")}
                        </c:if>
                    </div>
                    <h3>公司介绍<br><img src="../../imgs/line-sec.png"></h3>
                    <div class="text">
                        <span>${company.introduction}</span>
                        <br>
                    </div>
                    <h3>工作地址<br><img src="../../imgs/line-sec.png"></h3>
                    <input type="hidden" id="addr"
                           value="${company.province}${company.city}${company.district}${company.area}">
                    <div>
                        <div class="job-location">
                            <div class="address" style="font-size: 16px">${company.area}</div>
                            <div class="job-location-map">
                                <div id="addresscity">

                                </div>
                                <%--                            <img src="../../imgs/place.jpg" alt="">--%>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <!-- 更新会议弹出层 -->
    <div id="update-layer"
         style="display: none; padding-top: 10px;padding-left: 20px;min-height: 190px;position: relative;">
        <form id="update-form" class="layui-form layui-form-pane" lay-filter="update-form">
            <div class="layui-form-item" style="display: none;">
                <label class="layui-form-label">ID</label>
                <div class="layui-input-block">
                    <input type="text" name="id" class="layui-input" readonly>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-form-item">
                    <c:forEach items="${resume}" var="rs" varStatus="rse">
                        <input type="radio" name="res" value="${rs.id}" title="我的简历${rse.count}" style="width: 300px;">
                        <label style="font-weight: normal;margin-top: 5px;">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <a href="javascript:view_resume(${rs.id})">查看</a>
                            &nbsp;|&nbsp;
                            <a href="javascript:edit_resume(${rs.id})">编辑</a>
                        </label>
                    </c:forEach>
                </div>

                <div class="layui-form-item" style="position: absolute;bottom: 10px;">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="update-form-submit">投递</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
        </form>
    </div>
</div>
<%@include file="./../../common/myfooter.jsp" %>
<script src="/hire/plugins/layui/layui.js"></script>
<script src="/hire/plugins/jquery/jquery.min.js"></script>
<script src="/hire/plugins/bootstrap/js/bootstrap.js"></script>
<script src="/hire/js/job/recruitment/recruitment_info.js"></script>
<script src="/hire/js/job/recruitment/recruitmentButton.js"></script>
<script src="//api.map.baidu.com/api?type=webgl&v=3.0&ak=YdcyBdAMy2CPVhN4Eo0E4falnPff1Pna"></script>
</body>
</html>
